package com.irheima.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(value = "/demo/*",loadOnStartup = 1)
public class DemoServlet extends BaseServlet {


    public void findAll(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("findAll执行了");
    }
    public void upDate(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("upDate执行了");
    }
    public void save(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("save执行了");
    }



}
